<script lang="ts">
import { defineComponent, ref, watch } from 'vue'
import { useRouter } from 'vue-router'
export default defineComponent({
  components: {},
  setup() {
      let router:any = useRouter();
      let otherway:any=():any=>{
        router.push({path:'/otherway'});
      }
      return {
        otherway
      }
  }
})
</script>
<template>
    <div class="register">
        <div class="register-fork iconfont icon-x" @click="$router.back()"></div>
        <div class="register-content">
            <div class="register-title">登录后更精彩</div>
            <div class="register-min-title">与百万创作者一起成长</div>
        </div>
        <div class="register-phone">
            <div class="phone">134****9671</div>
            <button>一键登录</button>
            <button>微信登录</button>
            <div>
                <input type="checkbox">
                <span class="phone-text">我已同意<a>中国移动认证服务条款</a> 和<a href="/">新片场服务协议</a>;未注册手机号将自动注册</span>

            </div>
            <div class="other-way" @click="otherway">其他登录方式 &gt;</div>
        </div>
    </div>
</template>
<style lang="scss">
.register {
    height: 100vh;
    // background: url('https://img0.baidu.com/it/u=2112707187,659664845&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=675') no-repeat;
    .register-fork {
        padding: 16px;
        font-size: 20px;
        font-weight: 600;
    }

    .register-content {
        padding: 16px;
    .register-title{
        font-size: 30px;
        font-weight: 600;

    }
    .register-min-title{
        font-size: 14px;
        margin-top: 16px;
        color: #707070;
    }
    }
    .register-phone{
        position: absolute;
        top: 30%;
        width: 100%;
        padding: 16px;
        flex-wrap: wrap;
        box-sizing: border-box;
        .phone{
            width: 100%;
            text-align: center;
            font-size: 20px;
        }
        button{
            box-sizing: border-box;
            width: 95%;
            margin: 12px auto;
            padding: 15px;
            border-radius: 25px;
            // border: 0px;
            background-color: #e74b3c;
            border: 1px solid #e9e9e9;
            font-weight: 600;
            color: #fff;


        }
        &>button:nth-child(3){
            background-color: #fff;
            border: 1px solid #e9e9e9;
            color: black;
        }
        .phone-text{
            margin-left: 5px;
            font-size: 11px;
            color: #bbbbbb;
        }
        .other-way{
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            text-align: center;
            margin-top: 200px;
        }
    }
    

}
</style>